/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.rest;

/**
 * <订单校验响应结果>
 * 
 * @author Henry(fba02)
 * @version [版本号, 2020-10-13]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class ApiOrderValidateResponse {
    private Boolean success;// true|false
    private String errorType;// 错误类型
    private Integer code;// 错误代码
    private String msg;// 错误消息    
    
    public Boolean getSuccess() {
        return success;
    }
    
    public void setSuccess(Boolean success) {
        this.success = success;
    }
    
    public String getErrorType() {
        return errorType;
    }

    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }

    public Integer getCode() {
        return code;
    }
    
    public void setCode(Integer code) {
        this.code = code;
    }
    
    public String getMsg() {
        return msg;
    }
    
    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ApiOrderValidateResponse(Boolean success) {
        super();
        this.success = success;
    }

    public ApiOrderValidateResponse(Boolean success, Integer code, String msg) {
        super();
        this.success = success;
        this.code = code;
        this.msg = msg;
    }

    public ApiOrderValidateResponse(Boolean success, String errorType, Integer code, String msg) {
        super();
        this.success = success;
        this.errorType = errorType;
        this.code = code;
        this.msg = msg;
    }
}